﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

using DAL;
using System.ComponentModel.DataAnnotations;

namespace Blog.Models
{
    public class ArticleDetailsViewModel
    {
        public Article Article { get; set; }

        public int ArticleID { get; set; }

        [Required(ErrorMessage="Votre Prénom et nom sont requis")]
        public string Username { get; set; }

        [Required(ErrorMessage="Un contenu est requis")]
        public string Content { get; set; }
    }
}